CP-VIZ: An Open Source Visualization Platform for CP
نویسندگان
چکیده
Visualization is one of the best techniques for understanding the behaviour of constraint programs, allowing us to directly observe the impact of changes by visual inspection instead of using tedious debugging. So far, most constraint visualization tools have been closely linked to specific solvers, making it difficult to compare alternative solvers and to reuse development effort spent on other systems. Previous attempts [1] at generic tools were unsuccessful largely due to the complexity of the specification. The new, light-weight CP-VIZ system provides a simple XML based interface for solvers, and can be easily extended for new systems and constraints. In CP-VIZ, we try to visualize the search tree and the state of variables and (global) constraints in parallel views. The search tree shows choices, assignments and failures, modelled on the tree display in the OZ Explorer [3] and later in CHIP [4]. Constraints and variables are shown in a 2D layout defined by the user, individual global constraints are shown in custom visualizations similar to [5]. A new constraint can be added to the package by deriving a new class with a custom drawing method. The design of the visualization tool was driven by user-requirements, coming mainly from the development of an ECLiPSe ELearning course.
منابع مشابه
A Generic Visualization Platform for CP
In this paper we describe the design and implementation of CP-VIZ, a generic visualization platform for constraint programming. It provides multiple views to show the search tree, and the state of constraints and variables for a postmortem analysis of a constraint program. Different to most previous visualization tools, it is system independent, using a light-weight, intermediate XML format to ...
متن کاملImproving Constraint Modelling Using Visualization
This talk gives an overview of CP-Viz, a constraint solver independent visualization toolkit for understanding search trees, variables and global constraints of modern constraint applications. We show how visualization can play a central role in developing, analyzing and tuning constraint models. Together with the declarative problem modelling framework of CP, and the specialized propagation me...
متن کاملThe Conceptual Programming Environment, CP: Reasoning Representation using Graph Structures and Operations
The Conceptual Programming environment, CP, being developed at the Computing Research Laboratory (CRL), is a complete knowledge representation visual programming environment for use with both dynamic, open-world, problem solving (Weak) applications and static, closed-world, scientific analysis (strong) applications. CP is based upon a graphical methodology of visualization derived from John Sow...
متن کاملTemporal, spatial, and constraint handling in the Conceptual Programming environment, CP
The Conceptual Programming environment, CP, being developed at New Mexico State University (NMSU), is a complete knowledge representation programming environment for use with both dynamic, open-world, problem solving (weak) applications and static, closed-world, scientific analysis (strong) applications. CP is based upon a graphical methodology of visualization derived from John Sowas conceptu...
متن کاملThe Conceptual Programming Environment, CP Time, Space and Heuristic Constraints
The Conceptual Programming environment, CP, being developed at New Mexico State University is a complete knowledge representation environment for use with both dynamic, open-world, problem solving (weak) applications and static, closed-world, scientific analysis (strong) applications. CP is based upon a graphical methodology of visualization derived from John Sowa’s conceptual graph theory. In ...
متن کامل